וַיָּ֣מָת שָׁא֗וּל בְּמַֽעֲלוֹ֙ אֲשֶׁ֣ר מָעַ֣ל בַּֽיהוָ֔ה עַל־דְּבַ֥ר יְהוָ֖ה אֲשֶׁ֣ר לֹא־שָׁמָ֑ר וְגַם־לִשְׁא֥וֹל בָּא֖וֹב לִדְרֽוֹשׁ׃
און שָאול איז געשטאָרבן פֿאַר זײַן פֿעלשונג װאָס ער האָט געפֿעלשט אָן גאָט פֿון װעגן דעם װאָרט פֿון גאָט װאָס ער האָט ניט געהיט, און אױך פֿאַר װאָס שָאול האָט געפֿרעגט בײַ אַ גײַסט צו פֿאָרשן בײַ אים,
Rashi
And Saul died because of the treachery that he had committed He committed two treacherous acts by inquiring of the familiar spirit: one when he inquired after Samuel, and one when he inquired of familiar spirits, and in the Aggadah of Samuel (24:6) we learn that he committed five treacherous acts
Rashi
concerning the word of the Lord that he did not keep that which Samuel had commanded him, as it is written (I Sam. 10:8): “Seven days shall you wait,” and because he dealt treacherously in the war of Amalek [by sparing Agag].